package org.net.cms.controller.app.payment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AppPaymentReqVO {
    @Schema(description = "编号，主键", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer id;

    @Schema(description = "家长编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer parentId;

    @Schema(description = "学生编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer studentId;

    @Schema(description = "学生姓名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "支付类型（0:餐费, 1:学费, 3:活动费）", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer payType; // 使用 Integer 以便能表示 3

    @Schema(description = "金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private BigDecimal amount;

    @Schema(description = "缴费状态（0:未支付, 1:已支付）", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer status; // 使用 Integer 以便能表示更多状态

    @Schema(description = "是否删除（false: 否, true: 是）", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Boolean deleted;
}
